<div id="" style="width: 75%;position: absolute;">
    <?php
    $this->widget('ext.CPotatoMenu.CPotatoMenu', array(
        'style' => 'default', // or default or navbar
        'items' => array(
            array('label' => 'Home', 'url' => array('/site/index')),
            array('label' => Yii::t('ui', 'Configuration'), 'url' => '#', 'submenuOptions' => array('id' => 'myId'), 'visible' => Yii::app()->getModule('user')->isAdmin(), 'items' => array(
                    array('label' => Yii::t('application', 'Ward'), 'url' => '#', 'linkOptions' => array('onclick'=>'add_tab("ccward", "'.CController::createUrl('ccward/admin', array('isAjaxRequest' => 1)).'", "'.Yii::t('application', 'Ward').'");')),
                    array('label' => Yii::t('application', 'Zone'), 'url' => '#', 'linkOptions' => array('onclick'=>'add_tab("cczone", "'.CController::createUrl('cczone/popupview', array('isAjaxRequest' => 1)).'", "'.Yii::t('application', 'Zone').'");')),
                    array('label' => Yii::t('application', 'Ledger'), 'url' => '#', 'linkOptions' => array('onclick'=>'add_tab("fdledger", "'.CController::createUrl('fdledger/admin', array('isAjaxRequest' => 1)).'", "'.Yii::t('application', 'Ledger').'");')),
                    array('label' => Yii::t('application', 'General Accounting'), 'url' => array('/site/page&view=generalaccounting')),
                    array('label' => Yii::t('application', 'Central Configuration'), 'url' => array('/site/page&view=centralconfiguration')),
                    array('label' => Yii::t('application', 'Property'), 'url' => array('/site/page&view=property')),
                    array('label' => Yii::t('application', 'Water'), 'url' => array('/site/page&view=water')),
                    array('label' => Yii::t('application', 'Building Permission'), 'url' => array('/site/page&view=buildingpermission')),
                    array('label' => Yii::t('application', 'Birth And Death'), 'url' => array('/site/page&view=birthanddeath')),
                    array('label' => Yii::t('application', 'License Permission'), 'url' => array('/site/page&view=licensepermission')),
                    array('label' => Yii::t('application', 'Ration Card'), 'url' => array('/site/page&view=rashancard')),
                    array('label' => Yii::t('application', 'Central Purchase'), 'url' => array('/site/page&view=centralpurchase')),
                    array('label' => Yii::t('application', 'Rental Property'), 'url' => array('/site/page&view=rentalproperty')),
                    array('label' => Yii::t('application', 'Human Resource '), 'url' => array('/site/page&view=humanresource')),
                    array('label' => Yii::t('application', 'Store And Workshop'), 'url' => array('/site/page&view=storeandworkshop')),
                    array('label' => Yii::t('application', 'Social Security '), 'url' => array('/site/page&view=socialsecurity')),
            )),
            array('label' => Yii::t('ui', 'Transaction'), 'url' => '#', 'submenuOptions' => array('id' => 'myId'), 'visible' => Yii::app()->getModule('user')->isAdmin(), 'items' => array(
                    array('label' => Yii::t('application', 'Accounting'), 'url' => array('/site/page&view=accounting')),
                    array('label' => Yii::t('application', 'Property'), 'url' => array('/site/page&view=propertytransaction')),
                    array('label' => Yii::t('application', 'Water'), 'url' => array('/site/page&view=watertransaction')),
                    array('label' => Yii::t('application', 'Building Permision'), 'url' => array('/site/page&view=buildingpermission')),
                    array('label' => Yii::t('application', 'Birth And Death'), 'url' => array('/site/page&view=birth')),
                    array('label' => Yii::t('application', 'License Permission'), 'url' => array('/site/page&view=licensepermission')),
                    array('label' => Yii::t('application', 'Ration Card'), 'url' => array('/site/page&view=rashancard')),
                    array('label' => Yii::t('application', 'Central Purchase'), 'url' => array('/site/page&view=centralpurchase')),
                    array('label' => Yii::t('application', 'Rental Property'), 'url' => array('/site/page&view=rentalproperty')),
                    array('label' => Yii::t('application', 'Human Resource '), 'url' => array('/site/page&view=humanresource')),
                    array('label' => Yii::t('application', 'Store And Workshop'), 'url' => array('/site/page&view=storeandworkshop')),
                    array('label' => Yii::t('application', 'Social Security '), 'url' => array('/site/page&view=socialsecurity')),
//                                    array('label'=>'Stock Transfer', 'url'=>array('/stocktransfer/admin')),
            )),
//                            array('label' => 'Book', 'url' => array('/yiiBook'), 'visible' => !Yii::app()->user->isGuest),
//                            array('url' => Yii::app()->getModule('user')->registrationUrl, 'label' => Yii::app()->getModule('user')->t("Register"), 'visible' => Yii::app()->user->isGuest),
            array('label' => Yii::t('ui', 'Report'), 'url' => '#', 'submenuOptions' => array('id' => 'myId'), 'visible' => Yii::app()->getModule('user')->isAdmin(), 'items' => array(
                    array('label' => Yii::t('application', 'General Accounting'), 'url' => array('/site/page&view=generalaccountingreport')),
                    array('label' => Yii::t('application', 'Property Report'), 'url' => array('/site/page&view=propertyreport')),
                    array('label' => Yii::t('application', 'Water Report'), 'url' => array('/site/page&view=waterreport')),
            )),
            array('label' => Yii::t('ui', 'Admin CP'), 'url' => '#', 'submenuOptions' => array('id' => 'myId'), 'visible' => Yii::app()->getModule('user')->isAdmin(), 'items' => array(
                    array('label' => Yii::t('application', 'User Management'), 'url' => array('/user/admin')),
                    array('label' => Yii::t('application', 'Audit'), 'url' => array('/auditTrail/admin')),
            )),
            array('url' => Yii::app()->getModule('user')->loginUrl, 'label' => Yii::app()->getModule('user')->t("Login"), 'visible' => Yii::app()->user->isGuest),
            array('url' => Yii::app()->getModule('user')->logoutUrl, 'label' => Yii::app()->getModule('user')->t("Logout") . ' (' . Yii::app()->user->name . ')', 'visible' => !Yii::app()->user->isGuest),
//				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
//				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
        ),
            )
    );
    ?></div>        